package com.duoduo.admin.repository;

import java.util.Optional;

import com.duoduo.admin.entity.SysRole;
import com.duoduo.common.jpa.repository.CommonRepository;

public interface SysRoleRepository extends CommonRepository<SysRole, Long> {

	Optional<SysRole> findByRoleCode(String defaultRole);


}
